Camera Placement Structure
You use a camera placement structure to get or set information about the location and orientation of a camera. A camera placement structure is defined by theTQ3CameraPlacement
data type.
typedef struct TQ3CameraPlacement { TQ3Point3D cameraLocation; TQ3Point3D pointOfInterest; TQ3Vector3D upVector; } TQ3CameraPlacement;
Field Description
cameraLocation
- The location of the camera, in world-space coordinates.
pointOfInterest
- The camera's point of interest (that is, the point at which the camera is aimed), in world-space coordinates.
upVector
- The up-vector of the camera. A camera's up-vector specifies the orientation of the camera. This vector must be normalized and perpendicular to the viewing direction. The up-vector of a camera is mapped to the y axis of the view plane.